from rest_framework import serializers
#自定义序列化器
class UserSerialzier(serializers.Serializer):
    #序列化返回字段
    username=serializers.CharField()
    mobile=serializers.CharField()